﻿using System.ComponentModel.DataAnnotations;

namespace INSE6260.OnlineBanking.Model.ClientCard
{
    public class PasswordInfo
    {
        [Required(AllowEmptyStrings = false, ErrorMessage = "OldPassword can not be null.")]
        public string OldPassword { get; set; }
        [Required(AllowEmptyStrings = false, ErrorMessage = "NewPassword can not be null.")]
        public string NewPassword { get; set; }
        [Required(AllowEmptyStrings = false, ErrorMessage = "ConfirmPassword can not be null.")]
        public string ConfirmPassword { get; set; }
    }
}
